import { defHttp } from '@/utils/http/axios';

// 获取学生信息列表
export const getStudentListApi = (params: any) =>
  defHttp.get({
    url: '/face_recognition/user/users',
    params: {
      Role: 'Student',
      ...params,
    },
  });

// 更新用户信息
export const updateUserApi = (data: any) =>
  defHttp.put({
    url: '/face_recognition/user/users',
    data,
  });
